package cn.gbase.jiangsu.data.transfer.dto;

import cn.gbase.jiangsu.data.transfer.bean.BaseDto;
import cn.gbase.jiangsu.data.transfer.validation.annotation.Validations;

/**
 * 批量添加房间.
 * 
 */
public class AddManyRoomDto extends BaseDto {

	/**
	 * 所属小区.
	 */
	@Validations(required = true, limit = { 1 }, errorMsg = "请选择所属小区。")
	private int communityId;
	
	/**
	 * 起始楼号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "起始楼号应为1-2个数字。")
	private String buildingNoStart;

	/**
	 * 结束楼号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "结束楼号应为1-2个数字。")
	private String buildingNoEnd;
	
	/**
	 * 单元号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "起始单元号应为1-2个数字。")
	private String unitNoStart;

	/**
	 * 单元号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "结束单元号应为1-2个数字。")
	private String unitNoEnd;
	
	/**
	 * 楼层号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "起始楼层号应为1-2个数字。")
	private String floorNoStart;

	/**
	 * 楼层号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "结束楼层号应为1-2个数字。")
	private String floorNoEnd;
	
	/**
	 * 房间号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "起始房间号应为1-2个数字。")
	private String roomNoStart;

	/**
	 * 房间号.
	 */
	@Validations(required = true, regex = "^\\d{1,2}$", errorMsg = "结束房间号应为1-2个数字。")
	private String roomNoEnd;	

	public String getRoomNoStart() {
		return roomNoStart;
	}

	public void setRoomNoStart(String roomNoStart) {
		this.roomNoStart = roomNoStart;
	}

	public String getRoomNoEnd() {
		return roomNoEnd;
	}

	public void setRoomNoEnd(String roomNoEnd) {
		this.roomNoEnd = roomNoEnd;
	}

	public String getUnitNoStart() {
		return unitNoStart;
	}

	public void setUnitNoStart(String unitNoStart) {
		this.unitNoStart = unitNoStart;
	}

	public String getUnitNoEnd() {
		return unitNoEnd;
	}

	public void setUnitNoEnd(String unitNoEnd) {
		this.unitNoEnd = unitNoEnd;
	}

	public String getBuildingNoStart() {
		return buildingNoStart;
	}

	public void setBuildingNoStart(String buildingNoStart) {
		this.buildingNoStart = buildingNoStart;
	}

	public String getBuildingNoEnd() {
		return buildingNoEnd;
	}

	public void setBuildingNoEnd(String buildingNoEnd) {
		this.buildingNoEnd = buildingNoEnd;
	}

	public int getCommunityId() {
		return communityId;
	}

	public void setCommunityId(int communityId) {
		this.communityId = communityId;
	}

	public String getFloorNoStart() {
		return floorNoStart;
	}

	public void setFloorNoStart(String floorNoStart) {
		this.floorNoStart = floorNoStart;
	}

	public String getFloorNoEnd() {
		return floorNoEnd;
	}

	public void setFloorNoEnd(String floorNoEnd) {
		this.floorNoEnd = floorNoEnd;
	}
	

}
